<%@codepage="65001"%>
<%session.codepage="65001"%>
<!-- #include virtual=/inc/dbConn.asp -->
<!-- #include virtual=/inc/function.asp -->
<!-- #include virtual=/inc/action.header.inc.asp -->

<%
	'## 파라미터 변수 선언부
	seq		= Request("seq")
	
	SQLTitle = "-- ■■■■ 휴일 근무 정보 관리 상세 정보 ■■■■"
	
	SQL = "SELECT workDt, workTm, userId, flag, seq FROM tblOffDayWork WHERE seq=" & seq

	If xMode="debug" Then 
		Call showDebug(SQLTitle,SQL) 
	End If 

	Set Rs=Server.CreateObject("ADODB.RecordSet")
	Rs.open SQL, DbCon, 1
	
	Response.write "<OffWorkDetail>" & vbcrlf

	If Rs.eof Or Rs.bof Then 
	Else 
		Do Until Rs.eof Or Rs.bof
				Call mkXMLNode("workDt", rs("workDt"), 1)
				Call mkXMLNode("workTm", rs("workTm"), 1)
				Call mkXMLNode("userId", rs("userId"), 1)
				Call mkXMLNode("seq", rs("seq"), 1)
				Call mkXMLNode("flag", Rs("flag"), 1)
		Rs.movenext
		Loop 
	End If
	Response.write "</OffWorkDetail>" & vbcrlf
'	Call rsWithXML("Save OK!")
%>